package org.jeecg.modules.demo.warehouseorder.service;

import org.jeecg.modules.demo.warehouseorder.entity.WarehouseOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @Description: warehouse_order
 * @Author: jeecg-boot
 * @Date:   2021-12-02
 * @Version: V1.0
 */
public interface IWarehouseOrderService extends IService<WarehouseOrder> {
    public String getMaxCode();

    public String   getCode(String number);

    public List<String> selectByPoOrder(String poOrder);

    public WarehouseOrder getByWoNo(String wono);

    public Map<String,String> getMapByCon(String con);

    WarehouseOrder getByRkNo(String rkNo);

    public Map<String,Double> getRkNumAndTotail();
    public Map<String,Double> getCkNumAndTotail();

    public Map<String,Double> getYkByOrder(String str);

    public boolean addRkOrder(WarehouseOrder warehouseOrder);

    public boolean deleteByRkId(WarehouseOrder warehouseOrder);

    public boolean checkWarehouseOrder(WarehouseOrder warehouseOrder);

    public boolean waiveChecKWarehouseOrder(WarehouseOrder warehouseOrder);
}
